using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._UtilityNetworkTools
{
    /// <summary>
    /// <para>Make Diagram Layer</para>
    /// <para>Make a diagram layer</para>
    /// <para>创建逻辑示意图图层</para>
    /// </summary>    
    [DisplayName("Make Diagram Layer")]
    public class MakeDiagramLayer : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public MakeDiagramLayer()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_utility_network">
        /// <para>Input Network</para>
        /// <para></para>
        /// <para></para>
        /// </param>
        /// <param name="_network_diagram_name">
        /// <para>Network Diagram Name</para>
        /// <para></para>
        /// <para></para>
        /// </param>
        /// <param name="_out_layer">
        /// <para>Output Layer</para>
        /// <para></para>
        /// <para></para>
        /// </param>
        public MakeDiagramLayer(object _in_utility_network, object _network_diagram_name, object _out_layer)
        {
            this._in_utility_network = _in_utility_network;
            this._network_diagram_name = _network_diagram_name;
            this._out_layer = _out_layer;
        }
        public override string ToolboxName => "Utility Network Tools";

        public override string ToolName => "Make Diagram Layer";

        public override string CallName => "un.MakeDiagramLayer";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_in_utility_network, _network_diagram_name, _out_layer];

        /// <summary>
        /// <para>Input Network</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Network")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_utility_network { get; set; }


        /// <summary>
        /// <para>Network Diagram Name</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Network Diagram Name")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _network_diagram_name { get; set; }


        /// <summary>
        /// <para>Output Layer</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output Layer")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _out_layer { get; set; }


        public MakeDiagramLayer SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}